<?php
/**
 * Created by PhpStorm.
 * User: stupboy
 * Date: 2018/6/13
 * Time: 13:50
 * Mail:87658989@qq.com
 */

namespace app\adminapi\validate;


use app\base\validate\BaseValidate;

class BeidouValidate extends BaseValidate
{
    protected $rule = [
        'company_id' => 'number',
        'car_number' => 'length:1,8',
        'is_beidou'  => 'number'
    ];

    protected $default = [
//        'is_beidou' => 1
    ];

    protected $change = [
        'car_number' => 'number|like'
    ];
}